*{
    padding: 0px;
    margin: 0px;
}
body {
    width: 10rem;
    height: 17.7867rem;
    background: rgb(243, 239, 239);
    // display: flex;
    // flex-direction: column;
    font-family: 'KaiTi';
    position: relative;

    header {
        width: 100%;
        height: 1.6rem;
        background: #fff;
        display: flex;
        align-items: center;

        .header {
            width: 35%;
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            font-size: 16px;
            font-weight: bold;

            img {
                width: .5867rem;
            }
        }
    }

    .selectBox {
        background: #fff;
        height: .96rem;
        font-size: 14px;
        display: flex;
        border-top: none;
        box-shadow: 0 3px 3px rgb(202, 197, 197);

        div {
            width: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            img {
                width: .5rem;
            }
        }
    }

    >input {
        width: 94%;
        border: none;
        margin-top: .4rem;
        margin-left: 10px;
        height: .9333rem;
        align-self: center;
        border-radius: .1333rem;
        text-align: center;
        outline: none;
    }

    .remind {
        margin-top: 1.0667rem;
        font-size: 10px;
        align-self: center;
        color: #817d7d;
    }

    .display {
        width: 100%;
        // border: 1px solid rebeccapurple;
        display: flex;
        flex-direction: column;
        margin-top: 6px;
    }

    .all {
        width: 94%;
        padding: 8px 15px;
        align-self: center;
        background: #fff;
        border-radius: 5px;
        font-size: 16px;
        display: flex;
        flex-direction: column;
        margin-top: 15px;

        > span {
            width: 100%;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            > ul {
                width: 80%;
                display: flex;
                justify-content: flex-end;
                // border: 1px solid rebeccapurple; 
                > li {
                    margin-left: 10px;
                }
            }
        }

        .block {
            font-size: 16px;
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            align-items: center;
            >div {
                display: flex;
                flex-direction: column;
                justify-content: center;
                >div {
                    display: flex;
                }
                >span {
                    font-size: 12px;
                    color: #777373;
                    margin-left: 18px;
                }
            }
            .moneyType {
                color: red
            }
        }
    }


    .mask {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 2.56rem;
        left: 0;
        // background: #c4c2c2;
        background-color: rgba($color: #000, $alpha: .5);
        display: none;
    }

    .timeBox {
        position: absolute;
        display: none;
        width: 100%;
        top: 2.56rem;
        background: #fff;
        padding: 0 .4rem;
        border-radius: 0 0 .2667rem .2667rem;

        >li {
            // border: 1px solid rebeccapurple;
            height: 2.4rem;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;

            >span {
                font-size: 16px;
                font-weight: bold;
            }

            >ul {
                display: flex;

                >li {
                    font-size: 14px;
                    background: #f0ecec;
                    margin-right: .4rem;
                    padding: 0 .2667rem;
                    border-radius: .5333rem;
                }

                .active {
                    color: rgb(135, 182, 236);
                    background: rgb(206, 227, 252);
                }
            }

            >div {
                display: flex;

                // border: 1px solid rebeccapurple;
                .line {
                    margin: 0 .4rem;
                }

                .startTime,
                .endTime {
                    font-size: 14px;
                    background: #f0ecec;
                    // margin-right: 15px;
                    padding: 0 .2667rem;
                    border-radius: .5333rem;
                    line-height: 30px;
                }

                .ok {
                    width: 50px;
                    height: 30px;
                    font-size: 14px;
                    background: rgb(55, 147, 250);
                    border-radius: 5px;
                    text-align: center;
                    line-height: 30px;
                    color: #fff;
                    margin-left: 45px;
                    display: none;
                }
            }
        }

        .bill {
            height: 3.2rem;
        }
    }

    .conditionBox {
        position: absolute;
        display: none;
        width: 100%;
        top: 2.56rem;
        background: #fff;
        padding: 0 .4rem;
        border-radius: 0 0 .2667rem .2667rem;

        >div {
            width: 100%;
            height: 2.6667rem;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;

            >span {
                font-size: 16px;
                font-weight: bold;
            }

            >div {
                display: flex;
                justify-content: flex-start;

                .line {
                    margin: 0 .4rem;
                }

                >input {
                    width: 1.6rem;
                    border: none;
                    border-bottom: 1px solid #817d7d;
                    text-align: center;
                    outline: none;
                }
            }

            >ul {
                display: flex;

                >li {
                    font-size: 14px;
                    background: #f0ecec;
                    margin-right: .4rem;
                    padding: 0 .2667rem;
                    border-radius: .5333rem;
                }

                .active {
                    color: rgb(135, 182, 236);
                    background: rgb(206, 227, 252);
                }
            }
        }

        .kind {
            height: 3.4667rem;
        }

        >span {
            width: 100%;
            height: 1.6rem;
            display: flex;
            justify-content: space-between;
            align-items: center;

            >button {
                border: none;
                width: 48%;
                height: .9333rem;
                border-radius: .1333rem;
            }

            .confirm {
                background: rgb(55, 147, 250);
                color: #fff;
            }
        }
    }

    .calendarBox {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 92%;
        height: 550px;
        border-radius: 5px;
        background: #fff;
        justify-self: center;
        overflow: hidden;
        display: none;
        z-index: 2;

        .top {
            width: 100%;
            height: 25%;
            background: rgb(55, 147, 250);
            display: flex;
            flex-direction: column;
            justify-content: space-around;

            >p {
                color: #eee7e7;
                font-size: 10px;
                margin-left: 40px;
            }

            .exactDate {
                color: #fff;
                font-size: 40px;
                align-self: center;
                display: flex;
                justify-content: center;

            }
        }

        .bottom {
            width: 100%;
            height: 75%;
            padding: 15px;
            display: flex;
            flex-direction: column;

            .head {
                // position: fixed;
                // top: 0;
                width: 100%;
                height: 30px;
                display: flex;
                justify-content: space-between;
                color: #555353;

                // border: 1px solid rebeccapurple;
                .left {
                    width: 45%;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    // border: 1px solid red;
                    .month {
                        margin-left: -5px;
                        text-align: center;
                        display: inline-block;
                        width: 15px;
                        // border: 1px solid red;
                    }

                    .year {
                        text-align: center;
                        display: inline-block;
                        width: 40px;
                    }

                    >img {
                        width: 20px;
                        margin-left: 10px;
                    }

                    #down {
                        width: 20px;
                        // width: 50px;
                        border: none;
                        color: #555353;
                        outline: none;
                    }
                }

                .right {
                    font-weight: bold;

                    .prev {
                        margin-right: 30px;
                    }

                    .next {
                        margin-right: 18px;
                    }
                }
            }

            .content {
                display: flex;
                flex-direction: column;

                .whichDay {
                    display: flex;
                    margin-top: 15px;
                    font-weight: bold;
                    color: #272626;

                    >div {
                        text-align: center;
                        width: calc(100%/7)
                    }
                }

                .calendar {
                    display: flex;
                    flex-wrap: wrap;
                    color: #272626;

                    .item {
                        width: calc(100%/7);
                        height: 25px;
                        text-align: center;
                        margin-top: 15px;
                    }

                    .active {
                        color: white;
                        background: rgb(55, 147, 250);
                    }
                }

                .operation {
                    display: flex;
                    justify-content: flex-end;
                    margin-top: 15px;
                    color: rgb(55, 147, 250);

                    >span {
                        text-align: center;
                        font-weight: bold;
                    }

                    .sure {
                        margin-right: 14px;
                        margin-left: 30px;
                    }
                }
            }
        }
    }

}